package com.itdaan.portal.business.service;

import java.util.List;

import com.itdaan.portal.business.domain.RolePermission;
import com.itdaan.portal.common.exception.ServiceException;
/**
 * @author www.itdaan.com
 */
public interface RolePermissionService {

	public void insert(RolePermission rolePermission) throws ServiceException;
	
	public void deleteByRoleId(int roleId) throws ServiceException;
	
	public List<RolePermission> getByRoleId(int roleId) throws ServiceException;
}
